package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备使用记录对象 sys_use_record2
 * 
 * @author 胡化敏
 * @date 2020-06-22
 */
public class SysUseRecord2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long recordId;

    /** 本所编号 */
    @Excel(name = "本所编号")
    private String deviceNo;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private Long dateNum;

    /** 环境温度 */
    @Excel(name = "环境温度")
    private BigDecimal envTem;

    /** 样品编号 */
    @Excel(name = "样品编号")
    private String sampleNo;

    /** 操作人 */
    @Excel(name = "操作人")
    private String nickName;

    public String getNickName() {
        return super.getCreateBy();
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setDeviceNo(String deviceNo) 
    {
        this.deviceNo = deviceNo;
    }

    public String getDeviceNo() 
    {
        return deviceNo;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDateNum(Long dateNum) 
    {
        this.dateNum = dateNum;
    }

    public Long getDateNum() 
    {
        return dateNum;
    }
    public void setEnvTem(BigDecimal envTem) 
    {
        this.envTem = envTem;
    }

    public BigDecimal getEnvTem() 
    {
        return envTem;
    }
    public void setSampleNo(String sampleNo) 
    {
        this.sampleNo = sampleNo;
    }

    public String getSampleNo() 
    {
        return sampleNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("deviceNo", getDeviceNo())
            .append("deviceName", getDeviceName())
            .append("dateNum", getDateNum())
            .append("envTem", getEnvTem())
            .append("sampleNo", getSampleNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
